package com.cos.sm.services.impl;

import org.springframework.stereotype.Component;
import org.springframework.stereotype.Repository;
import org.springframework.stereotype.Service;

/**
 * @author: COS
 * @time: 2022/9/27 17:15
 * @description:
 * <bean id="deptServicesImpl" class=""/>
 * @Service("ds")
 * <bean id="ds" class=""/>
 */
@Service("ds") //专门用于业务层的实现类
//    @Repository 专门用于dao 的实现类
//    @Component 专用用于不是dao,services,controller其他类 (配置类,组件,工具类型)
public class DeptServicesImpl {

    public void show(){
        System.out.println("哈哈哈");
    }

}
